package cn.edu.zust.loginandregisterservice.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "company-service",path = "/company")
@Mapper
public interface CompanyClient {
    @GetMapping("/login/{account}")
    String getCompanyPasswordByAccount(@PathVariable("account") String account);
}
